#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by master on 2017/2/12

# f = open("test.log", "w")
# f.write("This is first line.\n")
# f.write("This is 2 line.\n")
# f.write("This is 3 line.\n")
# f.write("This is 4 line.\n")

f = open("test.log", "r")

for line in f:
    print(line)
f.close()
